[INFO] cloning repository https://github.com/Osspial/render_to_dxgi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Osspial/render_to_dxgi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsspial%2Frender_to_dxgi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsspial%2Frender_to_dxgi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 10b6ca7989746ca0e50d4e1b2599f1d945fa49d3
[INFO] building Osspial/render_to_dxgi against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsspial%2Frender_to_dxgi" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Osspial/render_to_dxgi on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Osspial/render_to_dxgi
[INFO] finished tweaking git repo https://github.com/Osspial/render_to_dxgi
[INFO] tweaked toml for git repo https://github.com/Osspial/render_to_dxgi written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/Osspial/render_to_dxgi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 44f19f869483273dd7acafe1c7d248c215e03b99f3922ea7e58b392ffd3a995b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "44f19f869483273dd7acafe1c7d248c215e03b99f3922ea7e58b392ffd3a995b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "44f19f869483273dd7acafe1c7d248c215e03b99f3922ea7e58b392ffd3a995b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44f19f869483273dd7acafe1c7d248c215e03b99f3922ea7e58b392ffd3a995b", kill_on_drop: false }`
[INFO] [stdout] 44f19f869483273dd7acafe1c7d248c215e03b99f3922ea7e58b392ffd3a995b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3a37ab427ee81da96bdbce91c833d8e6bd686c213d718d6db054de190734eaca
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3a37ab427ee81da96bdbce91c833d8e6bd686c213d718d6db054de190734eaca", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling libc v0.2.58
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]    Compiling rand_core v0.4.0
[INFO] [stderr]    Compiling cc v1.0.37
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling lazycell v1.2.1
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]    Compiling same-file v1.0.4
[INFO] [stderr]    Compiling downcast-rs v1.0.4
[INFO] [stderr]    Compiling syn v0.15.37
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling smallvec v0.6.10
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling parking_lot_core v0.5.0
[INFO] [stderr]    Compiling parking_lot v0.8.0
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling lock_api v0.2.0
[INFO] [stderr]    Compiling walkdir v2.2.8
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling x11-dl v2.18.3
[INFO] [stderr]    Compiling stb_truetype v0.2.6
[INFO] [stderr]    Compiling wayland-scanner v0.23.5
[INFO] [stderr]    Compiling gl_generator v0.11.0
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling libloading v0.5.1
[INFO] [stderr]    Compiling mio v0.6.19
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling wayland-sys v0.23.5
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling glutin_wgl_sys v0.1.3 (/opt/rustwide/workdir/glutin_wgl_sys)
[INFO] [stderr]    Compiling gl v0.12.0
[INFO] [stderr]    Compiling rusttype v0.7.7
[INFO] [stderr]    Compiling mio-extras v2.0.5
[INFO] [stderr]    Compiling wayland-client v0.23.5
[INFO] [stderr]    Compiling wayland-protocols v0.23.5
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling calloop v0.4.4
[INFO] [stderr]    Compiling wayland-commons v0.23.5
[INFO] [stderr]    Compiling derivative v1.0.2
[INFO] [stderr]    Compiling smithay-client-toolkit v0.6.2
[INFO] [stderr]    Compiling winit v0.20.0-alpha1
[INFO] [stderr]    Compiling render_to_dxgi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `glutin_wgl_sys::wgl`, `glutin_wgl_sys::wgl_extra`
[INFO] [stdout]  --> src/main.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use glutin_wgl_sys::{wgl, wgl_extra};
[INFO] [stdout]   |                      ^^^  ^^^^^^^^^ no `wgl_extra` in the root
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      no `wgl` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::{
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `wgl` in `glutin_wgl_sys`
[INFO] [stdout]    --> src/main.rs:117:29
[INFO] [stdout]     |
[INFO] [stdout] 117 |         use glutin_wgl_sys::wgl::types::*;
[INFO] [stdout]     |                             ^^^ could not find `wgl` in `glutin_wgl_sys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winit::platform::windows`
[INFO] [stdout]  --> src/main.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |     platform::windows::WindowExtWindows,
[INFO] [stdout]   |               ^^^^^^^ could not find `windows` in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser`
[INFO] [stdout]   --> src/main.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let class = winuser::WNDCLASSEXA {
[INFO] [stdout]    |                     ^^^^^^^ use of undeclared crate or module `winuser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser`
[INFO] [stdout]   --> src/main.rs:30:36
[INFO] [stdout]    |
[INFO] [stdout] 30 |             cbSize: mem::size_of::<winuser::WNDCLASSEXA>() as _,
[INFO] [stdout]    |                                    ^^^^^^^ use of undeclared crate or module `winuser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser`
[INFO] [stdout]   --> src/main.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |             style: winuser::CS_HREDRAW | winuser::CS_VREDRAW | winuser::CS_OWNDC,
[INFO] [stdout]    |                    ^^^^^^^ use of undeclared crate or module `winuser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser`
[INFO] [stdout]   --> src/main.rs:31:42
[INFO] [stdout]    |
[INFO] [stdout] 31 |             style: winuser::CS_HREDRAW | winuser::CS_VREDRAW | winuser::CS_OWNDC,
[INFO] [stdout]    |                                          ^^^^^^^ use of undeclared crate or module `winuser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser`
[INFO] [stdout]   --> src/main.rs:31:64
[INFO] [stdout]    |
[INFO] [stdout] 31 |             style: winuser::CS_HREDRAW | winuser::CS_VREDRAW | winuser::CS_OWNDC,
[INFO] [stdout]    |                                                                ^^^^^^^ use of undeclared crate or module `winuser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser`
[INFO] [stdout]   --> src/main.rs:32:31
[INFO] [stdout]    |
[INFO] [stdout] 32 |             lpfnWndProc: Some(winuser::DefWindowProcA),
[INFO] [stdout]    |                               ^^^^^^^ use of undeclared crate or module `winuser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libloaderapi`
[INFO] [stdout]   --> src/main.rs:35:24
[INFO] [stdout]    |
[INFO] [stdout] 35 |             hInstance: libloaderapi::GetModuleHandleW(ptr::null()),
[INFO] [stdout]    |                        ^^^^^^^^^^^^ use of undeclared crate or module `libloaderapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser`
[INFO] [stdout]   --> src/main.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         winuser::RegisterClassExA(&class);
[INFO] [stdout]    |         ^^^^^^^ use of undeclared crate or module `winuser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser`
[INFO] [stdout]   --> src/main.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let gl_hwnd = winuser::CreateWindowExA(
[INFO] [stdout]    |                       ^^^^^^^ use of undeclared crate or module `winuser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser`
[INFO] [stdout]   --> src/main.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             winuser::WS_OVERLAPPEDWINDOW,
[INFO] [stdout]    |             ^^^^^^^ use of undeclared crate or module `winuser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser`
[INFO] [stdout]   --> src/main.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |             winuser::CW_USEDEFAULT,
[INFO] [stdout]    |             ^^^^^^^ use of undeclared crate or module `winuser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser`
[INFO] [stdout]   --> src/main.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             winuser::CW_USEDEFAULT,
[INFO] [stdout]    |             ^^^^^^^ use of undeclared crate or module `winuser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser`
[INFO] [stdout]   --> src/main.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |             winuser::CW_USEDEFAULT,
[INFO] [stdout]    |             ^^^^^^^ use of undeclared crate or module `winuser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser`
[INFO] [stdout]   --> src/main.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             winuser::CW_USEDEFAULT,
[INFO] [stdout]    |             ^^^^^^^ use of undeclared crate or module `winuser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libloaderapi`
[INFO] [stdout]   --> src/main.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |             libloaderapi::GetModuleHandleW(ptr::null()),
[INFO] [stdout]    |             ^^^^^^^^^^^^ use of undeclared crate or module `libloaderapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winuser`
[INFO] [stdout]   --> src/main.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let gl_hdc = winuser::GetDC(gl_hwnd);
[INFO] [stdout]    |                      ^^^^^^^ use of undeclared crate or module `winuser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wingdi`
[INFO] [stdout]   --> src/main.rs:66:23
[INFO] [stdout]    |
[INFO] [stdout] 66 |             let pfd = wingdi::PIXELFORMATDESCRIPTOR {
[INFO] [stdout]    |                       ^^^^^^ use of undeclared crate or module `wingdi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wingdi`
[INFO] [stdout]   --> src/main.rs:67:39
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 nSize: mem::size_of::<wingdi::PIXELFORMATDESCRIPTOR>() as _,
[INFO] [stdout]    |                                       ^^^^^^ use of undeclared crate or module `wingdi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wingdi`
[INFO] [stdout]   --> src/main.rs:69:26
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 dwFlags: wingdi::PFD_SUPPORT_OPENGL,
[INFO] [stdout]    |                          ^^^^^^ use of undeclared crate or module `wingdi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wingdi`
[INFO] [stdout]   --> src/main.rs:73:32
[INFO] [stdout]    |
[INFO] [stdout] 73 |             let pixel_format = wingdi::ChoosePixelFormat(gl_hdc, &pfd);
[INFO] [stdout]    |                                ^^^^^^ use of undeclared crate or module `wingdi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wingdi`
[INFO] [stdout]   --> src/main.rs:74:26
[INFO] [stdout]    |
[INFO] [stdout] 74 |             assert!(0 != wingdi::SetPixelFormat(gl_hdc, pixel_format, &pfd));
[INFO] [stdout]    |                          ^^^^^^ use of undeclared crate or module `wingdi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libloaderapi`
[INFO] [stdout]    --> src/main.rs:102:26
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let h_opengl32 = libloaderapi::LoadLibraryA("OpenGL32.dll\0".as_ptr() as *const i8);
[INFO] [stdout]     |                          ^^^^^^^^^^^^ use of undeclared crate or module `libloaderapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libloaderapi`
[INFO] [stdout]    --> src/main.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 libloaderapi::GetProcAddress(h_opengl32, cs.as_ptr()) as *const _
[INFO] [stdout]     |                 ^^^^^^^^^^^^ use of undeclared crate or module `libloaderapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_3`
[INFO] [stdout]    --> src/main.rs:168:34
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let mut swap_chain: *mut dxgi1_3::IDXGISwapChain2 = ptr::null_mut();
[INFO] [stdout]     |                                  ^^^^^^^ use of undeclared crate or module `dxgi1_3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11`
[INFO] [stdout]    --> src/main.rs:169:30
[INFO] [stdout]     |
[INFO] [stdout] 169 |         let mut device: *mut d3d11::ID3D11Device = ptr::null_mut();
[INFO] [stdout]     |                              ^^^^^ use of undeclared crate or module `d3d11`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11`
[INFO] [stdout]    --> src/main.rs:170:38
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let mut device_context: *mut d3d11::ID3D11DeviceContext = ptr::null_mut();
[INFO] [stdout]     |                                      ^^^^^ use of undeclared crate or module `d3d11`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_2`
[INFO] [stdout]    --> src/main.rs:172:31
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let mut factory: *mut dxgi1_2::IDXGIFactory2 = ptr::null_mut();
[INFO] [stdout]     |                               ^^^^^^^ use of undeclared crate or module `dxgi1_2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi`
[INFO] [stdout]    --> src/main.rs:174:22
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let result = dxgi::CreateDXGIFactory(
[INFO] [stdout]     |                      ^^^^ use of undeclared crate or module `dxgi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_2`
[INFO] [stdout]    --> src/main.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 |             &dxgi1_2::IID_IDXGIFactory2,
[INFO] [stdout]     |              ^^^^^^^ use of undeclared crate or module `dxgi1_2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror`
[INFO] [stdout]    --> src/main.rs:178:20
[INFO] [stdout]     |
[INFO] [stdout] 178 |         assert_eq!(winerror::S_OK, result, "{:x}", result);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared crate or module `winerror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11`
[INFO] [stdout]    --> src/main.rs:180:22
[INFO] [stdout]     |
[INFO] [stdout] 180 |         let result = d3d11::D3D11CreateDevice(
[INFO] [stdout]     |                      ^^^^^ use of undeclared crate or module `d3d11`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3dcommon`
[INFO] [stdout]    --> src/main.rs:182:13
[INFO] [stdout]     |
[INFO] [stdout] 182 |             d3dcommon::D3D_DRIVER_TYPE_HARDWARE,
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared crate or module `d3dcommon`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11`
[INFO] [stdout]    --> src/main.rs:184:13
[INFO] [stdout]     |
[INFO] [stdout] 184 |             d3d11::D3D11_CREATE_DEVICE_DEBUG,
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `d3d11`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11`
[INFO] [stdout]    --> src/main.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |             d3d11::D3D11_SDK_VERSION,
[INFO] [stdout]     |             ^^^^^ use of undeclared crate or module `d3d11`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror`
[INFO] [stdout]    --> src/main.rs:192:20
[INFO] [stdout]     |
[INFO] [stdout] 192 |         assert_eq!(winerror::S_OK, result, "{:x}", result);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared crate or module `winerror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_2`
[INFO] [stdout]    --> src/main.rs:194:37
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let swap_chain_descriptor = dxgi1_2::DXGI_SWAP_CHAIN_DESC1 {
[INFO] [stdout]     |                                     ^^^^^^^ use of undeclared crate or module `dxgi1_2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgiformat`
[INFO] [stdout]    --> src/main.rs:197:21
[INFO] [stdout]     |
[INFO] [stdout] 197 |             Format: dxgiformat::DXGI_FORMAT_R8G8B8A8_UNORM,
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared crate or module `dxgiformat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `minwindef`
[INFO] [stdout]    --> src/main.rs:198:21
[INFO] [stdout]     |
[INFO] [stdout] 198 |             Stereo: minwindef::FALSE,
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared crate or module `minwindef`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgitype`
[INFO] [stdout]    --> src/main.rs:199:25
[INFO] [stdout]     |
[INFO] [stdout] 199 |             SampleDesc: dxgitype::DXGI_SAMPLE_DESC {
[INFO] [stdout]     |                         ^^^^^^^^ use of undeclared crate or module `dxgitype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgitype`
[INFO] [stdout]    --> src/main.rs:203:26
[INFO] [stdout]     |
[INFO] [stdout] 203 |             BufferUsage: dxgitype::DXGI_USAGE_RENDER_TARGET_OUTPUT,
[INFO] [stdout]     |                          ^^^^^^^^ use of undeclared crate or module `dxgitype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_2`
[INFO] [stdout]    --> src/main.rs:205:22
[INFO] [stdout]     |
[INFO] [stdout] 205 |             Scaling: dxgi1_2::DXGI_SCALING_STRETCH,
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared crate or module `dxgi1_2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi`
[INFO] [stdout]    --> src/main.rs:206:25
[INFO] [stdout]     |
[INFO] [stdout] 206 |             SwapEffect: dxgi::DXGI_SWAP_EFFECT_FLIP_DISCARD,
[INFO] [stdout]     |                         ^^^^ use of undeclared crate or module `dxgi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi1_2`
[INFO] [stdout]    --> src/main.rs:207:24
[INFO] [stdout]     |
[INFO] [stdout] 207 |             AlphaMode: dxgi1_2::DXGI_ALPHA_MODE_UNSPECIFIED,
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared crate or module `dxgi1_2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi`
[INFO] [stdout]    --> src/main.rs:208:20
[INFO] [stdout]     |
[INFO] [stdout] 208 |             Flags: dxgi::DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT,
[INFO] [stdout]     |                    ^^^^ use of undeclared crate or module `dxgi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror`
[INFO] [stdout]    --> src/main.rs:219:20
[INFO] [stdout]     |
[INFO] [stdout] 219 |         assert_eq!(winerror::S_OK, result, "{:x}", result);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared crate or module `winerror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11`
[INFO] [stdout]    --> src/main.rs:227:39
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let depth_buffer_descriptor = d3d11::D3D11_TEXTURE2D_DESC {
[INFO] [stdout]     |                                       ^^^^^ use of undeclared crate or module `d3d11`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgiformat`
[INFO] [stdout]    --> src/main.rs:232:21
[INFO] [stdout]     |
[INFO] [stdout] 232 |             Format: dxgiformat::DXGI_FORMAT_D24_UNORM_S8_UINT,
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared crate or module `dxgiformat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgitype`
[INFO] [stdout]    --> src/main.rs:233:25
[INFO] [stdout]     |
[INFO] [stdout] 233 |             SampleDesc: dxgitype::DXGI_SAMPLE_DESC {
[INFO] [stdout]     |                         ^^^^^^^^ use of undeclared crate or module `dxgitype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11`
[INFO] [stdout]    --> src/main.rs:237:20
[INFO] [stdout]     |
[INFO] [stdout] 237 |             Usage: d3d11::D3D11_USAGE_DEFAULT,
[INFO] [stdout]     |                    ^^^^^ use of undeclared crate or module `d3d11`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11`
[INFO] [stdout]    --> src/main.rs:238:24
[INFO] [stdout]     |
[INFO] [stdout] 238 |             BindFlags: d3d11::D3D11_BIND_DEPTH_STENCIL,
[INFO] [stdout]     |                        ^^^^^ use of undeclared crate or module `d3d11`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11`
[INFO] [stdout]    --> src/main.rs:242:36
[INFO] [stdout]     |
[INFO] [stdout] 242 |         let mut depth_buffer: *mut d3d11::ID3D11Texture2D = ptr::null_mut();
[INFO] [stdout]     |                                    ^^^^^ use of undeclared crate or module `d3d11`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror`
[INFO] [stdout]    --> src/main.rs:248:20
[INFO] [stdout]     |
[INFO] [stdout] 248 |         assert_eq!(winerror::S_OK, result, "{:x}", result);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared crate or module `winerror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11`
[INFO] [stdout]    --> src/main.rs:250:45
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let depth_stencil_view_descriptor = d3d11::D3D11_DEPTH_STENCIL_VIEW_DESC {
[INFO] [stdout]     |                                             ^^^^^ use of undeclared crate or module `d3d11`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgiformat`
[INFO] [stdout]    --> src/main.rs:251:21
[INFO] [stdout]     |
[INFO] [stdout] 251 |             Format: dxgiformat::DXGI_FORMAT_D24_UNORM_S8_UINT,
[INFO] [stdout]     |                     ^^^^^^^^^^ use of undeclared crate or module `dxgiformat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11`
[INFO] [stdout]    --> src/main.rs:252:28
[INFO] [stdout]     |
[INFO] [stdout] 252 |             ViewDimension: d3d11::D3D11_DSV_DIMENSION_TEXTURE2D,
[INFO] [stdout]     |                            ^^^^^ use of undeclared crate or module `d3d11`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11`
[INFO] [stdout]    --> src/main.rs:256:41
[INFO] [stdout]     |
[INFO] [stdout] 256 |         let mut depth_stencl_view: *mut d3d11::ID3D11DepthStencilView = ptr::null_mut();
[INFO] [stdout]     |                                         ^^^^^ use of undeclared crate or module `d3d11`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror`
[INFO] [stdout]    --> src/main.rs:262:20
[INFO] [stdout]     |
[INFO] [stdout] 262 |         assert_eq!(winerror::S_OK, result, "{:x}", result);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared crate or module `winerror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11`
[INFO] [stdout]    --> src/main.rs:265:36
[INFO] [stdout]     |
[INFO] [stdout] 265 |         let mut color_buffer: *mut d3d11::ID3D11Texture2D = ptr::null_mut();
[INFO] [stdout]     |                                    ^^^^^ use of undeclared crate or module `d3d11`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11`
[INFO] [stdout]    --> src/main.rs:266:50
[INFO] [stdout]     |
[INFO] [stdout] 266 |         let result = (*swap_chain).GetBuffer(0, &d3d11::IID_ID3D11Texture2D, &mut color_buffer as *mut _ as *mut _);
[INFO] [stdout]     |                                                  ^^^^^ use of undeclared crate or module `d3d11`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror`
[INFO] [stdout]    --> src/main.rs:267:20
[INFO] [stdout]     |
[INFO] [stdout] 267 |         assert_eq!(winerror::S_OK, result, "{:x}", result);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared crate or module `winerror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `d3d11`
[INFO] [stdout]    --> src/main.rs:269:41
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let mut color_buffer_view: *mut d3d11::ID3D11RenderTargetView = ptr::null_mut();
[INFO] [stdout]     |                                         ^^^^^ use of undeclared crate or module `d3d11`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winerror`
[INFO] [stdout]    --> src/main.rs:275:20
[INFO] [stdout]     |
[INFO] [stdout] 275 |         assert_eq!(winerror::S_OK, result, "{:x}", result);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared crate or module `winerror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GLenum` in this scope
[INFO] [stdout]    --> src/main.rs:120:25
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 source: GLenum,
[INFO] [stdout]     |                         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 1   | use gl::types::GLenum;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GLenum` in this scope
[INFO] [stdout]    --> src/main.rs:121:25
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 gltype: GLenum,
[INFO] [stdout]     |                         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 1   | use gl::types::GLenum;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GLuint` in this scope
[INFO] [stdout]    --> src/main.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 |                 id: GLuint,
[INFO] [stdout]     |                     ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 1   | use gl::types::GLuint;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GLenum` in this scope
[INFO] [stdout]    --> src/main.rs:123:27
[INFO] [stdout]     |
[INFO] [stdout] 123 |                 severity: GLenum,
[INFO] [stdout]     |                           ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 1   | use gl::types::GLenum;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GLsizei` in this scope
[INFO] [stdout]    --> src/main.rs:124:25
[INFO] [stdout]     |
[INFO] [stdout] 124 |                 length: GLsizei,
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 1   | use gl::types::GLsizei;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GLchar` in this scope
[INFO] [stdout]    --> src/main.rs:125:33
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 message: *const GLchar,
[INFO] [stdout]     |                                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 125 |                 message: *const char,
[INFO] [stdout]     |                                 ^^^^
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 1   | use gl::types::GLchar;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `hwnd` found for struct `winit::window::Window` in the current scope
[INFO] [stdout]    --> src/main.rs:213:20
[INFO] [stdout]     |
[INFO] [stdout] 213 |             window.hwnd() as _,
[INFO] [stdout]     |                    ^^^^ method not found in `winit::window::Window`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 73 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `render_to_dxgi`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "3a37ab427ee81da96bdbce91c833d8e6bd686c213d718d6db054de190734eaca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a37ab427ee81da96bdbce91c833d8e6bd686c213d718d6db054de190734eaca", kill_on_drop: false }`
[INFO] [stdout] 3a37ab427ee81da96bdbce91c833d8e6bd686c213d718d6db054de190734eaca
